package me.ywy.dbtest.dongnaodb.bean;

import me.ywy.dbtest.dongnaodb.annotation.DBField;
import me.ywy.dbtest.dongnaodb.annotation.DBTable;

/**
 * Created by ywy on 2018/4/20.
 */
@DBTable("tb_user")
public class UserBean {
    @DBField("_id")
    private Integer id;

    private String name;

    private String password;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
